package cn.memset;

import com.api.InternetService;

import java.util.ServiceLoader;

public class Application {

    public static void main(String[] args) {
        ServiceLoader<InternetService> serviceServiceLoader = ServiceLoader.load(InternetService.class);
        for (InternetService service : serviceServiceLoader) {
            service.connectInternet();
        }
    }
}
